 /**
   * Copyright 2014 Viettel Telecom. All rights reserved.
   * VIETTEL PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
   */
 package com.viettel.core.bussiness.cms; 
import java.util.List; 

import com.viettel.core.exceptions.BusinessException; 
import com.viettel.core.exceptions.DataAccessException;
import com.viettel.core.entities.cms.TechniqueCategory;
import com.viettel.core.entities.vo.TechniqueCategorySearchFilter;
import com.viettel.core.entities.vo.TechniqueCategorySearchVO;
 /**
   *  Mo ta muc dich cua lop (interface)
   *  @author: TOANTM1
   *  @version:  
   *  @since: 27/02/2014 - 11:34:02
   */
 public interface TechniqueCategoryMgr { 
 
 	/**@author TOANTM1
  	 * 27/02/2014 - 11:34:02
  	 * For: 
  	 * @description: 
  	 */
 	TechniqueCategory getTechniqueCategoryById(Integer id) throws BusinessException; 
 
 	/**@author TOANTM1
  	 * 27/02/2014 - 11:34:02
  	 * For: 
  	 * @description: 
  	 */
 	TechniqueCategory createTechniqueCategory(TechniqueCategory techniquecategory) throws BusinessException; 
 
 	/**@author TOANTM1
  	 * 27/02/2014 - 11:34:02
  	 * For: 
  	 * @description: 
  	 */
 	
 	
 	void updateTechniqueCategory(TechniqueCategory techniquecategory) throws BusinessException; 
 
 	/**@author TOANTM1
  	 * 27/02/2014 - 11:34:02
  	 * For: 
  	 * @description: 
  	 */
 	void deleteTechniqueCategory(TechniqueCategory techniquecategory) throws BusinessException; 
 	
 	/**
 	 * @author tuantm20
 	 * @param parentId
 	 * @return
 	 * @throws BusinessException
 	 */
 	List<TechniqueCategory> getListParentTechniqueCategory(Integer parentId)
			throws BusinessException;
 	
 	/**
 	 * @author tuantm20
 	 * @return
 	 * @throws BusinessException
 	 */
 	List<TechniqueCategory> getAllTechniqueCategory() throws BusinessException;
 	
 	/**
 	 * @author tuantm20
 	 * @param parentId
 	 * @return
 	 * @throws BusinessException
 	 */
 	List<TechniqueCategory> getListTechniqueCategoryByParentId(Integer parentId)
			throws BusinessException;
 	/**
 	 * @author tuantm20
 	 * @param parentId
 	 * @return
 	 * @throws BusinessException
 	 */
 	List<TechniqueCategorySearchVO> getListTechniqueCategoryByFilter(TechniqueCategorySearchFilter filter)
			throws BusinessException;
			
 	/**
 	 * @author huanlh5
 	 * @return
 	 * @throws DataAccessException
 	 */
 	List<TechniqueCategory> getListTechniqueCategoryNotParent() throws BusinessException;
	
	/**
	 * @author HUYNHDC
	 * @return
	 * @throws DataAccessException
	 */
 	List<TechniqueCategory> getListTechniqueCategoryParent() throws BusinessException;
 	/**
	 * @author HUYNHDC
	 * @return
	 * @throws DataAccessException
	 */
 	Boolean checkNameExist(String userName) throws BusinessException;
 } 
